import { Fill, Stroke, Style } from "ol/style";
import data from "../json/道路.json";
import { newLayerFromGeoJSON } from "../loader";

const routeStyle = new Style({
  stroke: new Stroke({
    color: "#FFF",
    width: 2,
  }),
  fill: new Fill({
    color: "#FFF",
  }),
});

export default newLayerFromGeoJSON(data, { style: routeStyle });
